﻿@model HomeCareLibrary.Models.UserDetailIDModel

                                                
                                                    <h3 class="personalization-heading no-Txtshadow">Dwelling Type</h3>
                                                   
                                                    <p class="top-data">Your personalized home care program is
calculated based on your dwelling type:</p>

                                                    <div class="Dwelling-part">
                                                        <div class="form-per">
                                                            <form role="form">
                                                                <div class="form-group">
                                                                    <label for="dwellingtype">Select your dwelling type:</label>
                                                                   @Html.DropDownList("getDwellingType", null, new { @class = "form-control" })
                                                                </div>
                                                                <div class="form-group">
                                                                    <label for="createname">Create a name for this home:</label>

                                                                    @Html.TextBoxFor(m => m.home_name, new { @class = "form-control" })
                                                                </div>
                                                            </form>
                                                        </div>
                                                          <p class="text-center btm-dwelling-img">

                                                            @if (Model.welcome_image == null)
                                                            {
                                                                <img class="img-responsive" src="@Url.Content("~/images/personalization-images/dwelling-img.png")" alt="dwelling-img">
                                                            }
                                                            else
                                                            {
                                                                <img class="img-responsive" src='@Model.welcome_image' alt="dwelling-img">
                                                            }

                                                        </p>

                                       </div>

 <span style="margin-left:10px;">
                   JSON:
                    @if (ViewBag.JsonString != string.Empty)
                   {
                      @ViewBag.JsonString
                   }</span>

<br /><br />
                         <span style="margin-left:10px;">
                  Request Content-Type:
                    @if (ViewBag.ContentType != string.Empty)
                   {
                      @ViewBag.ContentType
                   }
                      </span>

                      <br /><br />
                         <span style="margin-left:10px;">
                  Request URL:
                    @if (ViewBag.Url != string.Empty)
                   {
                      @ViewBag.Url
                   }
                      </span>



                                   
                                           
<script type="text/javascript">

    jQuery(document).ready(function () {
        checkDwellingtype();
    });

   
</script>